<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
<head>
<link href="common/common.css" rel="stylesheet" type="text/css">
<script src="common/common.js" type="text/javascript"></script>
<script type="text/javascript" src="common/popcalendar.js"></script>
</head>
<body>
<div style="width:700px" id="centerlayout">
<strong>【车辆编辑】</strong>
<html:form action="VehicleUpdateAction.do">
<div style="text-align: left;color:red"><html:errors /></div>
<html:hidden property="id" />
		<fieldset style="border: none;border-top: 1px solid #C9DCA6;"><legend></legend>
		<table class="input-table" width="100%" align="center">
			<tbody>
				<tr>
				    <td class="column">车辆名称</td>
				    		<td class="value">
					<html:text property="carName"	 size="40" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
				    <td class="column">车辆类型</td>
				    		<td class="value">
					<html:text property="carType"	 size="10" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
					    </tr>
					    <tr>
				    <td class="column">厂家型号</td>
				    		<td class="value">
					<html:text property="manufactType"	 size="40" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
				    <td class="column">颜色</td>
				    		<td class="value">
					<html:text property="carColor"	 size="5" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
					    </tr>
					    <tr>
				    <td class="column">购置日期</td>
				    		<td class="value">
					<html:text property="buyDate"	 size="16" 	 styleClass="textbox" errorStyleClass="textbox_err" />
						<a href onclick="popUpCalendar(this, document.forms[0].buyDate, 'yyyy-mm-dd',-1,-1,false);return false"><img src="images/calendar.gif" border="0"></a>
					</td>
				    <td class="column">车况</td>
				    		<td class="value">
					<html:text property="carStage"	 size="5" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
					    </tr>
					    <tr>
				    <td class="column">载重吨位</td>
				    		<td class="value">
					<html:text property="shipGRT"	 size="16" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
				    <td class="column">征费吨位</td>
				    		<td class="value">
					<html:text property="chargeShipGRT"	 size="16" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
					    </tr>
					    <tr>
				    <td class="column">容积</td>
				    		<td class="value">
					<html:text property="carVolume"	 size="16" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
				    <td class="column">油耗</td>
				    		<td class="value">
					<html:text property="oilRate"	 size="16" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
					    </tr>
					    <tr>
				    <td class="column">车辆编号</td>
				    		<td class="value">
					<html:text property="numCode"	 size="20" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
				    <td class="column">车牌号</td>
				    		<td class="value">
					<html:text property="registNumber"	 size="20" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
					    </tr>
					    <tr>
				    <td class="column">营运证</td>
				    		<td class="value">
					<html:text property="operaCert"	 size="20" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
				    <td class="column">发动机编号</td>
				    		<td class="value">
					<html:text property="engineNumber"	 size="20" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
					    </tr>
					    <tr>
				    <td class="column">车身号码</td>
				    		<td class="value">
					<html:text property="carBodyNumber"	 size="20" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
				    <td class="column">当前位置</td>
				    		<td class="value">
					<html:text property="curPosition"	 size="40" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
					    </tr>
					    <tr>
				    <td class="column">车辆状态</td>
				  		<td class="value" colspan="3">
					<html:text property="carStatus"	 size="8" 	 styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
					    </tr>
					    <tr>
				    <td class="column">车辆备注</td>
				  		<td class="value" colspan="3">
						<html:textarea  rows="5" cols="80" property="carNote"/>
					</td>
				</tr>
			</tbody>
		</table>
		</fieldset>
		<button class="button" type="submit" name="confirm">确 定</button>
		<input class="button" type="button" value="返回" onclick="redirect('<c:url value='VehicleMainAction.do?method=doQuery'/>')"/>
</html:form>
</div>
</body>
</html>
